using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter09
{
	/// <summary>
	/// Example08: 
	/// A block of mass m_1 = 1.60 kg initially moving to the right 
	/// with a speed of 4.00 m/s on a frictionless horizontal track 
	/// collides with a spring attached to a second block of 
	/// mass m_2 = 2.10 kg initially moving to the left with a speed 
	/// of 2.50 m/s, as shown in Figure 9.12a. The spring constant 
	/// is 600 N/m.
	/// (A) Find the velocities of the two blocks after the collision.
	/// v_{2f} = 3.12 m/s, v_{1f} = -3.38 m/s.
	/// (B) During the collision, at the instant block 1 is moving 
	/// to the right with a velocity of +3.00 m/s, 
	/// as in Figure 9.12b determine the velocity of block 2.
	/// v_{2f} = -1.74 m/s
	/// (C) Determine the distance the spring is compressed at 
	/// that instant.
	/// x = 0.173 m
	/// (D) What is the maximum compression of the spring during
	/// the collision?
	/// x = 0.253 m
	/// </summary>
	public class Example08
	{
		public Example08()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			result = "Read the book!";
		}
	}
}
